package com.exam.online.system.constant;

/**
 * @author xupei
 * @date 2019/1/25
 */
public enum Status {

    ENABLE(1, true, "可用"),

    DISENABLE(0, false, "不可用"),

            ;

    private int code;

    private boolean bool;

    private String comment;

    Status(int code, boolean bool, String comment) {
        this.code = code;
        this.bool = bool;
        this.comment = comment;
    }

    public int getCode() {
        return code;
    }

    public boolean isBool() {
        return bool;
    }

    public String getComment() {
        return comment;
    }

}
